FROM openjdk:8u212-b04-jre-slim
VOLUME /tmp
COPY boot-web-01-0.0.1-SNAPSHOT.jar bootweb.jar
RUN bash -c "touch /bootweb.jar"
# EXPOSE 8080
ENTRYPOINT ["java","-jar","bootweb.jar"]
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
  && echo 'Asia/Shanghai' >/etc/timezone \